/*
 * @Author: your name
 * @Date: 2020-12-30 11:28:18
 * @LastEditTime: 2021-01-06 17:30:01
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \node-server\utils\constant.js
 */
module.exports = {
    CODE_ERROR: -1,
    CODE_SUCCESS: 0,
    IS_LOG:true,//控制是否打印日志
    PRIVATE_KEY: '/javachengxuy/article/details/83956957', //生成token的密钥
    JWT_EXPIRED:60*60*24, // token失效时间 1小时   单位秒/s
    CODE_TOKEN_EXPIRED: -2 //token失效状态码
  }